package com.wmx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@Setter
@Getter
@TableName("user")
@KeySequence("SEQ_TEST")//类注解
@AllArgsConstructor
public class UserEntity {
   /* @TableId(value = "ID",type = IdType.INPUT)*/
    public UserEntity(){};
    private Long id;
    private String name;
    private Integer age;
}
